pygrub: if default entry is "saved" then use first entry.
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 23 Nov 2009 07:17:10 +0000 (07:17 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 23 Nov 2009 07:17:10 +0000 (07:17 +0000)
commit758a4a6431c1de09bb52ce378e217dcce7b5f64d
tree4199760b33bb679c58ac60a9d750708c49842878
parentadaedafa56c8aae4e1b3d30b7cddd3edcd72e99f
pygrub: if default entry is "saved" then use first entry.

pygrub doesn't support the "savedefault" command and will error out if
menu.lst uses the "default saved" directive. We might as well start on
the first entry in this case instead of failing.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
tools/pygrub/src/GrubConf.py